package com.KA.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.KA.common.R;
import com.KA.entity.User;
import com.KA.mapper.UserMapper;
import com.KA.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
@Slf4j
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

      @Autowired
     private UserMapper userMapper;
    @Override
    public void saveuser(User userInfo) {
        userMapper.insert(userInfo);
    }
}
